home *** CD-ROM | disk | FTP | other *** search
Wrap
FullFind 1.5 by Frédéric RINALDI DESCRIPTION FullFind XFCN allows to search for first of all matches of a string in a container. SYNTAX FullFind(<container>,<pattern>[,<exactly>[,<all>[,<case sens.> [,<start>[,<item(s)>]]]]) PARAMETERS <container> is where the pattern will be searched in. <pattern> is the search string, and cannot exceed 255 chars. <exactly> can be true or false, and defines if the search will match the pattern as full word (true), or just as chars (false). Default is true. <all> can be true or false, and defines if the search will return only the first match (false), or all matches (true). Default is false. <case sens.> can be true or false, and defines if the search must be case sensitive (true) or not (false). Default is false. <start> is an integer defining the char after which the search begins. Default is 0. <item(s)> is an item list of the item numbers in which the pattern will be sarched in each line. Default is the whole line. Using "!", "?" and "=" as parameter will return an online help (resp. copyright, syntax and output). USING The XFCN returns a one or many lines result, each one containing four items "X,Y,Z,T", where : X is the position in the container of the first char of the pattern Y is the line number Z is the position in the line of the first char of the pattern T is the item number If the pattern is not found, the XFCN returns an empty string. ERRORS If an error occurs, FullFind can return : "Error : Missing parameter(s)" "Error : Param 3 must be true|false" "Error : Param 4 must be true|false" "Error : Param 5 must be a positive integer" "Error : Param 6 must be an integer > 0" "Error : Couldn't build the result" "Error : Separator char not allowed at the end of pattern" HISTORY 1.5 01/07/93 • Fixed bug with return-delimited searches 1.4 05/17/92 • Added itemDelimiter handling for specific item searching 1.3 02/23/92 • Search no more limited to 32000 chars • Added exact search with multi-word pattern 1.2 08/16/91 • Added "=" online help param • Using Script Mgr to find word boundaries -------------------------------------------------------------------- All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present : FullFind XFCN, © Frederic Rinaldi, 1989…1993. Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses: AppleLink: RINALDI1 CalvaCom : FR10 Compuserve : 71170,2111 Internet : RINALDI1@APPLELINK@APPLE.COM